<!--
*  功能描述：绩效管理：部门内考核:人员设置
 -->
    <template>
  <el-table :data="tableData" style="width: 100%">
    <el-table-column prop="DepId" label="序号">
    </el-table-column>
    <el-table-column prop="PersonnelName" label="姓名">
    </el-table-column>
    <el-table-column prop="DepName" label="部门">
    </el-table-column>
    <el-table-column prop="DepName" label="是否考核">
      是
    </el-table-column>
    <el-table-column prop="Mposition" label="管理职位">
    </el-table-column>
    <el-table-column prop="TechnicalPosition" label="技术职位">
    </el-table-column>
    <el-table-column label="实际部门">
      本部门
    </el-table-column>
  </el-table>
</template>

  <script>
export default {
  data () {
    return {
      tableData: [],
    }
  },
  methods: {
    show () {
      var id = this.$route.params.id;
      this.$http({
        url: 'AssDep/GetViewDepErsonnels',
        method: 'get',
        params: {
          id: id
        }
      })
        .then(res => {
          this.tableData = res.data
        })
    },

  },
  created () {
    this.show();
  }
}
  </script>
  <style scoped>
.a {
  background-color: rgb(25, 240, 50);
  color: aliceblue;
  border-radius: 100px;
  padding: 10px;
}
.b {
  background-color: red;
  color: aliceblue;
  border-radius: 100px;
  padding: 10px;
}
</style>